<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./font/iconfont.css">
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        section{
            width: 1000px;
            height: 600px;
            /* border: 1px solid #000; */
            margin: 200px auto;
            border-radius: 30px;
            box-shadow: 10px 10px 2px #ccc;
            overflow: hidden;   
            position: relative;
        }
        section>div.swipePage{
            width: 100%;
            height: 100%;
            background-color: rgb(90, 182, 252);
            border-radius: 150px;
            /* transform: translateX(-50%); */
            color: #fff;            
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: absolute;
            top: 0;
            left: -500px;
        }
        section>.swipePage>div{
            width: 50%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        section>.swipePage h1{
            width: 100%;
            text-align: center;
            font-size: 50px;
        }
        section>.swipePage p{
            font-size: 25px;
        }
        section>.swipePage button{
            border: 1px solid #fff;
            background-color: rgba(0, 0, 0, 0);
            width: 200px;
            height: 80px;
            border-radius: 20px;
            margin-top: 20px;
            color: #fff;
            font-size: 25px;
        }
        .signIn{
            width: 50%;
            float: right;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        .register{
            width: 50%;
            float: left;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        .signIn h1,.register h1{
            font-size: 45px;
            font-family: '黑体';
            margin-bottom: 20px;
        }
        .signIn input,.register input{
            outline: none;
            border: none;
            width: 400px;
            height: 50px;
            background-color: #dad5d5;
            border-radius: 10px;
            margin-bottom: 20px;
            font-size: 20px;
            text-indent: 10px;
        }
        .signIn p,.register p{
            font-size: 19px;
            color: #4b4848;
        }
        .signIn button,.register button{
            width: 400px;
            height: 50px;
            background-color: rgb(90, 182, 252);
            border: 0;
            border-radius: 10px;
            color: #fff;
            font-size: 30px;
            margin: 10px 0;
        }
        .signIn a,.register a{
            width: 40px;
            height: 40px;
            border: 1px solid #4b4848;
            border-radius: 10px;
            margin: 0 10px;
            color: #000;
            font-size: 25px;
            text-align: center;
            line-height: 40px;
            text-decoration: none;
        }
        .signIn div,.register div{
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 10px;
        }
    </style>
</head>
<body>
    <section>
        <div class="register">
            <h1>Registration</h1>
            <input type="text" placeholder="username">
            <span></span>
            <input type="password" placeholder="password">
            <span></span>
            <input type="password" placeholder="password again">
            <span></span>
            <input type="text" placeholder="nickname">
            <button class="regBtn">Register</button>
            <p>or register with social platforms</p>
            <div>
                <a href="" class="iconfont icon-logo-google"></a>
                <a href="" class="iconfont icon-facebook"></a>
                <a href="" class="iconfont icon-github"></a>
                <a href="" class="iconfont icon-instagram"></a>
            </div>
        </div>
        <div class="swipePage">
            <div>
                <h1>Welcome Back!</h1>
                <p>Already have an account?</p>
                <button class="leBtn">Login</button>
            </div>
            <div>
                <h1>Hello,Welcome!</h1>
                <p>Don't have an count?</p>
                <button class="reBtn">register</button>
            </div>
        </div>
        <div class="signIn">
            <h1>Login</h1>
            <input type="text" placeholder="username">
            <span></span>
            <input type="password" placeholder="password">
            <span></span>
            <p>Forgot password?</p>
            <button class="loBtn">Login</button>
            <p>or login with social platforms</p>
            <div>
                <a href="" class="iconfont icon-logo-google"></a>
                <a href="" class="iconfont icon-facebook"></a>
                <a href="" class="iconfont icon-github"></a>
                <a href="" class="iconfont icon-instagram"></a>
            </div>
        </div>
    </section>
</body>
<script src="./axios.js"></script>
<script src="./login.js"></script>
</html>